//
//  NetWorkingTools.m
//  礼物说
//
//  Created by shmily on 15/8/17.
//  Copyright (c) 2015年 shmilyAshen. All rights reserved.
//

#import "NetWorkingTools.h"



@implementation NetWorkingTools

- (instancetype)shareNetWorking {
    static NetWorkingTools *singleTon;
    
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        singleTon = [[NetWorkingTools alloc]init];
    });
    return singleTon;
}


- (void)requestGETWithUrlString:(NSString *)urlString finished:(successBlock)success error:(failedBlock)failed {
    [self GET:urlString parameters:nil success:success failure:failed];
}

@end
